package com.xand.bt.terminal.ui.logger;

import java.text.SimpleDateFormat;
import java.util.Date;

public class LoggerTrace {
	
	private static final SimpleDateFormat HOUR_FORMAT = new SimpleDateFormat("HH:mm:ss");
	
	private Date timestamp;
	
	private String trace;

	public Date getTimestamp() {
		return timestamp;
	}
	public String getFormattedTimestamp() {
		return HOUR_FORMAT.format(this.timestamp);
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public String getTrace() {
		return trace;
	}

	public void setTrace(String trace) {
		this.trace = trace;
	}
	
}
